package Practice.dao.model;



import java.util.Date;
/**
 * @author hyhWTX
 * @version 1.0
 * @ClassName Users
 * @date 2022年08月12日 14:35
 * @Description: 用户表的基本类
 */


/**
 *   实体类，该类与tbl_user2表对应
 *   类中的属性和表中的字段
 */

public class Users {
    private int user_id;
    private String user_nick_name;
    private Date user_register_date;
    private int user_score;
    private String user_sex;

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getUser_nick_name() {
        return user_nick_name;
    }

    public void setUser_nick_name(String user_nick_name) {
        this.user_nick_name = user_nick_name;
    }

    public Date getUser_register_date() {
        return user_register_date;
    }

    public void setUser_register_date(Date user_register_date) {
        this.user_register_date = user_register_date;
    }

    public int getUser_score() {
        return user_score;
    }

    public void setUser_score(int user_score) {
        this.user_score = user_score;
    }

    public String getUser_sex() {
        return user_sex;
    }

    public void setUser_sex(String user_sex) {
        this.user_sex = user_sex;
    }

    @Override
    public String toString() {
        return "Users{" +
                "user_id=" + user_id +
                ", user_nick_name='" + user_nick_name + '\'' +
                ", user_register_date=" + user_register_date +
                ", user_score=" + user_score +
                ", user_sex='" + user_sex + '\'' +
                '}';
    }
}
